<#include "/layout/layout.ftl"/>
<@body>
<script src="/lib/ewin/ewin.js"></script>
<script src="/script/testcase/testcase.js"></script>
    <div class="panel-body" style="padding-bottom:0px;">
        <div class="panel panel-default">
            <div class="panel-heading">查询条件</div>
            <div class="panel-body" style="padding:2px">
                <form id="formSearch" class="form-horizontal">
                    <div class="" style="margin-top:15px">
                        <div class="" style="margin-top:15px">
                            <label class="control-label col-sm-1" for="testCaseName">用例名称</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" id="testCaseName">
                            </div>
                            <div class="col-sm-4" style="text-align:left;">
                                <button type="button" style="margin-left:50px" id="btn_query" onclick="query()"
                                        class="btn btn-primary btnFont">
                                    查询
                                </button>
                            </div>
                        </div>
                </form>
            </div>
        </div>
        <div id="toolbar">
            <input type="hidden" name="interfaceId" value="${Session.interfaceId!}">
            <input type="hidden" name="interfaceType" value="${Session.interfaceType!}">
            <button id="btn_add" type="button" class="btn btn-default" onclick="openTestCasePage()">
                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>新增
            </button>
            <button id="btn_edit" type="button" class="btn btn-default" onclick="modifyTestCase()">
                <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>修改
            </button>
            <button id="btn_delete" type="button" class="btn btn-default" onclick="deleteComponent()">
                <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除
            </button>
            <button id="btn_delete" type="button" class="btn btn-default"  onclick="testCasePage()">
                <span class="glyphicon glyphicon-play" aria-hidden="true" ></span>执行测试用例
            </button>
        </div>
        <table id="dataTable"></table>
    </div>

<script type="text/javascript">

</script>

</@body>